Package-level declarations
Functions
Link copied to clipboard
fun RadioButton(selected: Boolean, label: String, onClick: () -> Unit?, modifier: Modifier = Modifier, interactiveState: SelectableInteractiveState = SelectableInteractiveState.Default, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Radio buttons are used for mutually exclusive choices, not for multiple choices. Only one radio button can be selected at a time. When a user chooses a new item, the previous choice is automatically deselected.